<h1>Add new client to the system</h1>


<div class="form">
  

  <fieldset>
  <legend>Please enter client information</legend>
  <% form_for :client, :url => { :action => "create" } do |form| %> <!-- <label id="code.rails_app.controller_views.3"/> -->
  <div>
      <%= form.label :"Client First Name" %>:<br />
      <%= form.text_field :fname, :size => 35, :class => "text" %>
    </div>
<div>
      <%= form.label :"Client Last Name" %>:<br />
      <%= form.text_field :lname, :size => 35, :class => "text" %>
    </div>
<div>
      <%= form.label :"Client email" %>:<br />
      <%= form.text_field :email, :size => 35, :class => "text" %>
    </div>
<div>
      <%= form.label :"Credit Card Number" %>:<br />
      <%= form.text_field :CCnumber, :size => 35, :class => "text" %>
    </div>
<div>
      <%= form.label :"Credit Card Type" %>:<br />
      <%= form.text_field :CCType, :size => 35, :class => "text" %>
    </div>
<div>
      <%= form.label :"Name on Credit Card" %>:<br />
      <%= form.text_field :CCName, :size => 35, :class => "text" %>
    </div>


    <div>
      <%= form.label :"Employee ID" %>:<br />
      <%= form.text_field :employeeID, :size => 35, :class => "text" %>
    </div>
    <div>
      <%= form.label :"Additional info" %>:<br />
      <%= form.text_area :profile, :size => 35, :class => "text" %>
    </div>
<div>
<%= submit_tag "Create", :class => "submit" %>       <%= link_to "cancel", { :action => "index" }, :class => "cancel" %> <% end %> 
  </div> 

  </fieldset>
</div>
